package com.example.util.model;

import java.io.Serializable;

/**
 * 菜单类 查询自定义SQL语句S_MENU非表名
 * 
 * @author yuxl
 **/
//@Table(table = "S_MENU" , desc = "")
public class Menu implements Serializable {

	private static final long serialVersionUID = -7662476713999266862L;
	
	private Long resourceId; //资源id
	
	//@Key(column = "MODULE_ID", type = 3, length = 36, comment = "")
	private Long moduleId;// 菜单id
	
	//@Column(column = "PARENT_MODULE_ID", type = 3, length = 36, comment = "")
	private Long parentMenuId;// 父模块

	//@Column(column = "MODULE_NAME", type = 12, length = 200, comment = "")
	private String moduleName;// 模块名称

	//@Column(column = "MODULE_CODE", type = 12, length = 200, comment = "")
	private String moduleCode;// 模块编码

	//@Column(column = "MODULE_LEVEL", type = 3, length = 36, comment = "")
	private Integer moduleLevel;// 级别

	//@Column(column = "MODULE_INDEX", type = 3, length = 36, comment = "")
	private Integer moduleIndex;// 模块顺序号

	//@Column(column = "MODULE_URL",type = 12, length = 300, comment = "")
	private String moduleUrl;// URL

	//@Column(column = "MODULE_DESC",type = 12, length = 512, comment = "")
	private String moduleDesc;// 菜单描述

	//@Column(column = "MODULE_ICON",type = 12, length = 512, comment = "")
	//private String moduleIcon;// 菜单图标名称
	
	//@Column(column = "MODULE_TYPE",type = 3, length = 20, comment = "")
	private Integer moduleType;// 区分菜单（0）  模块（1） 


	public Long getModuleId() {
		return moduleId;
	}

	public void setModuleId(Long moduleId) {
		this.moduleId = moduleId;
	}
	
	public Long getParentMenuId() {
		return parentMenuId;
	}

	public void setParentMenuId(Long parentMenuId) {
		this.parentMenuId = parentMenuId;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getModuleCode() {
		return moduleCode;
	}

	public void setModuleCode(String moduleCode) {
		this.moduleCode = moduleCode;
	}

	public Integer getModuleLevel() {
		return moduleLevel;
	}

	public void setModuleLevel(Integer moduleLevel) {
		this.moduleLevel = moduleLevel;
	}

	public Integer getModuleIndex() {
		return moduleIndex;
	}

	public void setModuleIndex(Integer moduleIndex) {
		this.moduleIndex = moduleIndex;
	}

	public Long getResourceId() {
		return resourceId;
	}

	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

	public String getModuleUrl() {
		return moduleUrl;
	}

	public void setModuleUrl(String moduleUrl) {
		this.moduleUrl = moduleUrl;
	}

	public String getModuleDesc() {
		return moduleDesc;
	}

	public void setModuleDesc(String moduleDesc) {
		this.moduleDesc = moduleDesc;
	}

	public Integer getModuleType() {
		return moduleType;
	}

	public void setModuleType(Integer moduleType) {
		this.moduleType = moduleType;
	}
	

}
